<!DOCTYPE>
<html>
<head>
    <title>
        学生列表
    </title>
    <#include "/common/index.ftl">
    <script src="/app_js/bootstrap-table.js" type="text/javascript"></script>
    <script>
        $(function() {
            $('#table').bootstrapTable({
                url: '/loadStd',
                columns: [{
                    field: 'age',
                    title: '年龄'
                }, {
                    field: 'name',
                    title: '姓名'
                }, {
                    field: 'password',
                    title: '密码'
                },{
                    field: 'sex',
                    title: '性别'
                }, ]
            });
        });
    </script>
</head>
<body>
<div>
   <table id="table"></table>
</div>
</body>
</html>